package cn.liuyang.tinyioc;

import org.junit.Assert;

public class InnerService {
    /**
     * 两个bean相互注入，测试是否会产生循环依赖
     */
    private HelloService helloService;

    public void sayHello() {
        Assert.assertNotNull(helloService);
        System.out.println("innerService says Hello World");
    }
}
